package com.serkol.annotation;


import com.serkol.bean.Result;
import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface RedisCacheRemove {
    String key() default "";

    //操作描述
    @AliasFor("key")
    String value() default "";

    boolean isLang() default false;

    boolean isAgent() default false;

    boolean isParam() default false;
    @AliasFor("isAgent")
    boolean isAuth() default false;


    Class resultClass() default Result.class;

}
